{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Alert/index.tsx\";\nimport React from \"react\";\nimport styles from './Alert.module.scss';\nimport { Alert, AlertTitle } from \"@mui/material\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst AlertBubble = props => {\n  if (props.state && props.text.length > 0) {\n    return /*#__PURE__*/_jsxDEV(Alert, {\n      className: styles.infoAlert,\n      severity: \"success\",\n      onClose: () => {\n        props.updateInfo && props.updateInfo(false);\n      },\n      children: [/*#__PURE__*/_jsxDEV(AlertTitle, {\n        children: \"\\u041E\\u0442\\u043B\\u0438\\u0447\\u043D\\u043E\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 11,\n        columnNumber: 17\n      }, this), \"\\u0421\\u043B\\u0435\\u0434\\u0443\\u044E\\u0449\\u0438\\u0439 \\u0448\\u0430\\u0433 \\u2014 \", /*#__PURE__*/_jsxDEV(\"strong\", {\n        children: props.text\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 12,\n        columnNumber: 33\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 10,\n      columnNumber: 13\n    }, this);\n  }\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: styles.disableAlert\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 18,\n    columnNumber: 9\n  }, this);\n};\n_c = AlertBubble;\nexport default AlertBubble;\nvar _c;\n$RefreshReg$(_c, \"AlertBubble\");","map":{"version":3,"names":["React","styles","Alert","AlertTitle","AlertBubble","props","state","text","length","infoAlert","updateInfo","disableAlert"],"sources":["/data/messenger.client/src/components/Alert/index.tsx"],"sourcesContent":["import React from \"react\";\nimport {AlertProps} from \"../../models/props/AlertProps\";\nimport styles from './Alert.module.scss';\nimport {Alert, AlertTitle} from \"@mui/material\";\n\nconst AlertBubble: React.FC<AlertProps> = (props) => {\n\n    if (props.state && props.text.length > 0) {\n        return (\n            <Alert className={styles.infoAlert} severity=\"success\" onClose={() => {props.updateInfo && props.updateInfo(false)}}>\n                <AlertTitle>Отлично</AlertTitle>\n                Следующий шаг — <strong>{props.text}</strong>\n            </Alert>\n        );\n    }\n\n    return (\n        <div className={styles.disableAlert}></div>\n    );\n}\n\nexport default AlertBubble;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAOC,MAAM,MAAM,qBAAqB;AACxC,SAAQC,KAAK,EAAEC,UAAU,QAAO,eAAe;AAAC;AAEhD,MAAMC,WAAiC,GAAIC,KAAK,IAAK;EAEjD,IAAIA,KAAK,CAACC,KAAK,IAAID,KAAK,CAACE,IAAI,CAACC,MAAM,GAAG,CAAC,EAAE;IACtC,oBACI,QAAC,KAAK;MAAC,SAAS,EAAEP,MAAM,CAACQ,SAAU;MAAC,QAAQ,EAAC,SAAS;MAAC,OAAO,EAAE,MAAM;QAACJ,KAAK,CAACK,UAAU,IAAIL,KAAK,CAACK,UAAU,CAAC,KAAK,CAAC;MAAA,CAAE;MAAA,wBAChH,QAAC,UAAU;QAAA;MAAA;QAAA;QAAA;QAAA;MAAA,QAAqB,oGAChB;QAAA,UAASL,KAAK,CAACE;MAAI;QAAA;QAAA;QAAA;MAAA,QAAU;IAAA;MAAA;MAAA;MAAA;IAAA,QACzC;EAEhB;EAEA,oBACI;IAAK,SAAS,EAAEN,MAAM,CAACU;EAAa;IAAA;IAAA;IAAA;EAAA,QAAO;AAEnD,CAAC;AAAA,KAdKP,WAAiC;AAgBvC,eAAeA,WAAW;AAAC;AAAA"},"metadata":{},"sourceType":"module"}